package com.martin.dms.model;

import java.util.Date;

/**
 * Delivery made by a supplier.
 * 
 * @author mtsvetkov
 */
public interface Delivery extends DMSObject {

    /**
     * Gets the supplier that made the delivery.
     * 
     * @return a supplier.
     */
    public Supplier getSupplier();

    /**
     * Gets the item that was delivered.
     * 
     * @return an item.
     */
    public Item getItem();

    /**
     * Gets the amount of the delivered items.
     * 
     * @return the amount of the delivered items.
     */
    public int getAmount();

    /**
     * Gets the date of the delivery.
     * 
     * @return the date of the delivery.
     */
    public Date getDate();
}
